package com.example.demo.mapper;

import com.example.demo.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserMapper {
    void save(User user);
    void updated(User user);

    List<User> list();

    void deleted(@Param("myid") Integer id);
}
